package entity;

import java.math.BigDecimal;

public class Emp<localDateTime> {
    private Integer empid;
    private String empName;
    private localDateTime birthday;
    private BigDecimal salary;
    private Integer departmentId;

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public localDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(localDateTime birthday) {
        this.birthday = birthday;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empid=" + empid +
                ", empName='" + empName + '\'' +
                ", birthday=" + birthday +
                ", salary=" + salary +
                ", departmentId=" + departmentId +
                '}';
    }

    public String getEmpId() {
        return empName;
    }
}
